package com.example.app.base;

import com.ocp.socket.common.enums.ResultStatusEnum;

/**
 * @Author : lichong
 * @description :
 * @Date Create in 11:30 2019/3/17
 * @Modified By :
 **/
public class ResultStatus {
    private Integer status;
    private String msg;
    private String msgEn;
    private String busId;

    public ResultStatus() {
    }

    public ResultStatus(ResultStatusEnum statusEnum) {
        this.status = statusEnum.getStatus();
        this.msg = statusEnum.getMsg();
        this.msgEn = statusEnum.getMsgEn();
    }

    public ResultStatus(ResultStatusEnum statusEnum,String busId) {
        this.status = statusEnum.getStatus();
        this.msg = statusEnum.getMsg();
        this.msgEn = statusEnum.getMsgEn();
        this.busId = busId;
    }

    public String getBusId() {
        return busId;
    }

    public void setBusId(String busId) {
        this.busId = busId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getMsgEn() {
        return msgEn;
    }

    public void setMsgEn(String msgEn) {
        this.msgEn = msgEn;
    }
}
